package biz;

import bean.RankingInfo;
import mapper.RankingMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RankingBizImpl implements  RankingBiz {
    @Autowired
    private RankingMapper rm;

    @Override
    public List<RankingInfo> findRanking() {
        return rm.findRanking();
    }

    @Override
    public List<RankingInfo> getRanking() {
        return rm.getRanking();
    }
}
